<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="css/screen.css" type="text/css"
	media="screen" title="css" charset="utf-8" />
	<script type="text/javascript" src="cinemapantin.js">
</script>
<title>Projet Cinepantin</title>
</head>

<body>
	<div id="content">
		<p id="top">Login</p>
		<div class="line"></div>
		<div id="body">
			<div id="contenu">
				<h4>S'identifier</h4>
				<img class="profile-img">
				<form class="formulaire" action="Login" method="post"
					accept-charset="utf-8">
					<c:if test= "${empty clientSession || empty adminSession }">
					<h5>Deja Client ? Connecter Vous ici</h5>
					<fieldset id="connexion" class="">
						<c:if test="${not empty erreurs}">
							<c:forEach var="erreur" items="${erreurs}">
								<span class="error">${erreur}</span>
								<br />
								<br />
							</c:forEach>
						</c:if>
						<p class="profile-name"></p>
						<table class="borderless">
							<tr>
								<td><label for="email">Email</label></td>
								<td><input type="text" name="email" value="${email}" /></td>
							</tr>
							<tr>
								<td><label for="password">Password</label></td>
								<td><input type="password" name="password"
									value="${password}" id="password" /></td>
							</tr>
						</table>
					</fieldset>
					<br /> 
					
		<input type="submit" value="Connexion" class="btn btnSuivant" />
		</c:if>
				</form>
				<br />
				 <br />
					<h5>Nouveau Client ? Inscrivez Vous</h5>

					<input type="submit" value="Creer Compte" class="btn btnSuivant"
						onclick="location.replace('Inscription')" />
					
			</div>
		</div>
		<jsp:include page="template/footer.jsp" />
	</div>
</body>
</html>
